Skip to content

Fix typing#5939

Open
Ioann44 wants to merge 1 commit intogoogle-ai-edge:masterfrom
Ioann44:patch-1
Open

Fix typing#5939
Ioann44 wants to merge 1 commit intogoogle-ai-edge:masterfrom
Ioann44:patch-1

Conversation

@Ioann44
Copy link
Copy Markdown

@Ioann44 Ioann44 commented Apr 9, 2025

Fix warning using mp_pose.POSE_CONNECTIONS (frozenset) in draw_landmarks function

Fix warning using `mp_pose.POSE_CONNECTIONS` (frozenset) in `draw_landmarks` function
@Ioann44 Ioann44 mentioned this pull request Apr 9, 2025
@Vessel9817
Copy link
Copy Markdown

Could be even more abstract and use Sequence or Iterable, given that iterating with for connection in connections: is the only use of connections.

@Ioann44
Copy link
Copy Markdown
Author

Ioann44 commented Jan 30, 2026

I guess there was a reason to try Container in my first PR, so Iterable not suitable. Also, Sequence is less abstact, as it require indexed access.
@schmidt-sebastian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants